/* 
 * File:   WarEntity.h
 * Author: artem
 *
 * Created on November 17, 2011, 9:48 PM
 */

#ifndef WARENTITY_H
#define WARENTITY_H

#include "Common.h"
#include "Entity.h"

#include "math/mathgl.h"

class WarEntity : public Entity
{
public:
	WarEntity(): m_target(NULL), m_firing(false) {}
	
	const Entity* getTarget() const { return m_target; }
	void setTarget(const Entity *target) { m_target = target; }
	
	bool isFiring() const { return m_firing; }
	void setFiring(bool firing) { m_firing = firing; }
	
protected:
	const Entity *m_target;
	
	bool m_firing;
};

#endif /* WARENTITY_H */
